/*
 * @Author: xiaosihan
 * @Date: 2021-04-24 22:38:45
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2021-06-06 13:42:45
 */

import React from "react";
import Btn1 from "@components/btn1/Btn1";
import { XRTUI_ROUTER } from "@pages/XshReactThreeUiDemo/type";
import ReactMixinComponent from "@ReactMixinComponent";
import styles from './XRTNav.less';

interface Props { }

interface State { }

export default class XRTNav extends ReactMixinComponent<Props, State> {
    constructor(props: Props) {
        super(props);
    }

    goto(path: string) {
        this.mixin_history.push(path);
    }

    render() {
        return (
            <div className={styles.XRTNav} >
                <Btn1 onClick={() => this.goto(XRTUI_ROUTER.BUTTON_3D)}  >BUTTON3D</Btn1>
            </div>
        )
    }
}